package com.picket.domain;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

public class MatchWithPredictions {

	private Integer matchNo;

	private String matchSummary;

	private String matchOutcome;

	private List<GaeUser> usersInPool = new ArrayList<GaeUser>();

	private Collection<UserPrediction> userPredictions = new ArrayList<UserPrediction>();

	public MatchWithPredictions(Integer matchNo, String matchSummary,
			String matchOutcome) {
		super();
		this.matchNo = matchNo;
		this.matchSummary = matchSummary;
		this.matchOutcome = matchOutcome;
	}

	public Integer getMatchNo() {
		return matchNo;
	}

	public void setMatchNo(Integer matchNo) {
		this.matchNo = matchNo;
	}

	public String getMatchSummary() {
		return matchSummary;
	}

	public void setMatchSummary(String matchSummary) {
		this.matchSummary = matchSummary;
	}

	public String getMatchOutcome() {
		return matchOutcome;
	}

	public void setMatchOutcome(String matchOutcome) {
		this.matchOutcome = matchOutcome;
	}

	public Collection<UserPrediction> getUserPredictions() {
		return userPredictions;
	}

	public void setUserPredictions(Collection<UserPrediction> userPredictions) {
		this.userPredictions = userPredictions;
	}

	public void addUserPrediction(UserPrediction userPrediction) {
		this.userPredictions.add(userPrediction);
	}

	public List<GaeUser> getUsersInPool() {
		return usersInPool;
	}

	public void setUsersInPool(List<GaeUser> usersInPool) {
		this.usersInPool = usersInPool;
	}
}